A New Approach to Vector Code Generation for Applicative Languages
نویسنده
چکیده
In an earlier paper we developed an intermediate representation for languages based on composition, and showed how the representation could facilitate generating code for functional languages, such as FP. In this paper we follow the same philosophical approach, using instead the applicative language APL. Further, we show how this intermediate representation simpli es the task of generating code for highly parallel machines, such as the Connection Machine. keywords: code generation, vector machines, applicative and functional languages
منابع مشابه
CASE — A Lazy Version of an SECD Machine with a Flat Environment
Graph reduction has been the basis of most fast running implementations of functional languages, with little attention being paid recently to Landin's SECD approach. CASE is an abstract machine which supports applicative programming and is a variation of Landin's classical SECD machine. Its environment is organized in a novel way which makes variable access more efficient by removing the overhe...
متن کامل1 Evaluating the Performance of a SISAL implementation of the Abingdon Cross Image Processing
There are many paradigms being promoted and explored for programming parallel computers, including modified sequential languages, new imperative languages and applicative languages. SISAL is an applicative language which has been designed by a consortium of industrial and research organisations for the specification and execution of parallel programs. It allows programs to be written with littl...
متن کاملCode Generation for VML Based on Tree Pattern Matching and Dynamic Programming
VML is an object-oriented database programming language. In this paper the code generation phase of the VML compiler (VC) is presented. VC is based on the front-end approach and the generated target code is C++ code. The code generation in compilers based on the back-end approach, where the target code consists of hardware-oriented instructions, is usually based on conventional dynamic programm...
متن کاملAutomatic Generation of a Multi Agent System for Crisis Management by a Model Driven Approach
Considering the increasing occurrences of unexpected events and the need for pre-crisis planning in order to reduce risks and losses, modeling instant response environments is needed more than ever. Modeling may lead to more careful planning for crisis-response operations, such as team formation, task assignment, and doing the task by teams. A common challenge in this way is that the model shou...
متن کاملDML - a meta-language and system for the generation of practical and efficient compilers from denotational specifications
DML, the Denotational Meta Language, is a specification language and a compiler generation tool for producing practical and efficient compilers from Denotational Semantics specifications. This means that code emitted from generated compilers should be product quality, and that generated compilers should have reasonable compilation speed, and interface well with standard frontends and back-ends....
متن کامل